package com.power.mapper;

import com.power.commons.DataScope;
import com.power.model.TClue;
import com.power.query.BaseQuery;

import java.util.List;

public interface TClueMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TClue record);

    int insertSelective(TClue record);

    TClue selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TClue record);

    int updateByPrimaryKey(TClue record);

    @DataScope(tableAlias = "tc", fileField = "owner_id")
    List<TClue> selectClueListByPage(BaseQuery build);

    void saveExcelData(List<TClue> tClueDataList);

    TClue selectClueDetailById(Integer id);

    int selectClueStateById(Integer clueId);
}